package cn.tutu.blockchain.cktrecord.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;

import cn.tutu.blockchain.cktrecord.entity.CktRecord;
import cn.tutu.blockchain.common.Page;

public interface CktRecordService {

	void insertBatch(List<CktRecord> cktRecordList);

	/**
	 * 获取前一天的消费总额
	 * 
	 * @return
	 */
	Map<String, String> getPaymentRecord();

	/**
	 * 获取前一天的转账总额
	 * 
	 * @return
	 */
	Map<String, String> getTransRecord();

	PageInfo<CktRecord> getByUserId(String userId, Page page);

	Map<String, String> getExchangeRecord();

	PageInfo<CktRecord> getByCktId(String cktId, Page page);

}
